<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="utf-8">
    <title>账户</title>
</head>
<body>
<h1>账户列表</h1>
<table width="800px" border="1">
    <tr>
        <th>序号</th>
        <th>用户编号</th>
        <th>余额</th>
        <th>操作</th>
    </tr>
    <c:forEach items="${accounts}" var="account" varStatus="status">
        <tr>
            <td>${status.count}</td>
            <td>${account.id}</td>
            <td>${account.money}</td>
            <td>
                <a href="account?type=edit&id=${account.id}">修改</a>
                <a href="account?type=delete&id=${account.id}">删除</a>
            </td>
        </tr>
    <tr>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
    </tr>


</table>

</body>
</html>
